﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Data;

/// <summary>
/// Summary description for rptBaoCaoThuPhi_noDS
/// </summary>
public class rptBaoCaoThuPhi_noDS : DevExpress.XtraReports.UI.XtraReport
{
	private DevExpress.XtraReports.UI.DetailBand Detail;
	private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
	private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
    private ReportHeaderBand ReportHeader;
    private ReportFooterBand ReportFooter;
    private PageHeaderBand PageHeader;
    private XRLabel xrLabel15;
    private XRLabel xrLabel16;
    private XRLabel xrLabel17;
    private XRLabel xrLabel12;
    private XRLabel xrLabel13;
    private XRLabel xrLabel14;
    private XRLabel xrLabel18;
    private XRLabel xrLabel32;
    private XRLabel xrLabel33;
    private XRLabel xrLabel34;
    private XRLabel xrLabel28;
    private XRLabel xrLabel29;
    private XRLabel xrLabel30;
    private XRLabel xrLabel2;
    private XRLabel xrLabel3;
    private XRLabel xrLabel4;
    private XRLabel xrLabel31;
    private XRPictureBox xrPictureBox1;
    private XRLabel xrLabel1;
    private XRLabel xrLabel6;
    private XRLabel xrLabel9;
    private XRLabel xrLabel10;
    private XRLabel xrLabel11;
    private XRLabel xrLabel7;
    private XRLabel xrLabel8;
    private XRLabel xrLabel5;
    private XRTable xrTable1;
    private XRTableRow xrTableRow1;
    private XRTableCell xrTableCell1;
    private XRTableCell xrTableCell2;
    private XRTableCell xrTableCell3;
    private XRTableCell xrTableCell4;
    private XRTableCell xrTableCell5;
    private XRTableCell xrTableCell6;
    private XRTable xrTable2;
    private XRTableRow xrTableRow2;
    private XRTableCell xrTableCell7;
    private XRTableCell xrTableCell8;
    private XRTableCell xrTableCell9;
    private XRTableCell xrTableCell10;
    private XRTableCell xrTableCell11;
    private XRTableCell xrTableCell12;
    private XRLabel xrLabel39;
    private XRLabel xrLabel47;
    private XRLabel xrLabel46;
    private XRLabel xrLabel45;
    private XRLabel xrLabel38;
    private XRLabel xrLabel43;
    private XRLabel xrLabel44;
    private XRLabel xrLabel42;
    private XRLabel xrLabel40;
    private XRLabel xrLabel41;
    private XRLabel xrLabel37;
    private XRLabel xrLabel22;
    private XRLabel xrLabel23;
    private XRLabel xrLabel21;
    private XRLabel xrLabel19;
    private XRLabel xrLabel20;
    private XRLabel xrLabel27;
    private XRLabel xrLabel36;
    private XRLabel xrLabel26;
    private XRLabel xrLabel24;
    private XRLabel xrLabel25;

    private Guid MABCTPTN = Guid.Empty;
    private string MABCTPTN_flag;
    private XRTable xrTable3;
    private XRTableRow xrTableRow3;
    private XRTableCell xrTableCell13;
    private XRTableCell xrTableCell15;
    private XRTable xrTable4;
    private XRTableRow xrTableRow4;
    private XRTableCell xrTableCell14;
    private XRTableCell xrTableCell16;
    private XRTableCell xrTableCell17;
    private XRTableCell xrTableCell18;
    private DetailReportBand DetailReport;
    private DetailBand Detail1;
    private GroupFooterBand GroupFooter2;

    private DateTime TuNgay { get; set; }
    private DateTime DenNgay { get; set; }
    private string F_MACHN { get; set; }
    private string F_MACN { get; set; }
    private string NgayIn { get; set; }
    private string F_TENCN { get; set; }
    private string F_TENCHN { get; set; }
    private string F_TENNV { get; set; }

    //protected object DataSource1 { get; set; }
    protected DataTable mydatatable1 { get; set; }
    protected object DataSource2 { get; set; }    
    //protected object DataSource3 { get; set; }
    protected DataTable mydatatable2 { get; set; }
    protected object DataSource4 { get; set; }

    protected object DataAdapter1 { get; set; }
    protected object DataAdapter2 { get; set; }
    protected object DataAdapter3 { get; set; }
    protected object DataAdapter4 { get; set; }

    protected string DataMember1 { get; set; }
    protected string DataMember2 { get; set; }
    protected string DataMember3 { get; set; }
    protected string DataMember4 { get; set; }

	/// <summary>
	/// Required designer variable.
	/// </summary>
	private System.ComponentModel.IContainer components = null;

	public rptBaoCaoThuPhi_noDS()
	{
		InitializeComponent();
		//
		// TODO: Add constructor logic here
		//
	}
    public rptBaoCaoThuPhi_noDS(string F_MACHN, DateTime TuNgay, DateTime DenNgay, string F_MACN, DateTime NgayIn, string F_TENCN, string F_TENCHN, string F_TENNV, Guid MABCTPTN, int flag)
    {
        InitializeComponent();
        //
        // TODO: Add constructor logic here
        //
        this.MABCTPTN = MABCTPTN;
        this.MABCTPTN_flag = flag.ToString();
        if (MABCTPTN_flag == "0")
        {
            this.F_MACHN = F_MACHN;
            this.TuNgay = TuNgay;
            this.DenNgay = DenNgay;
            this.F_MACN = F_MACN;
            this.NgayIn = string.Format("{0:dd/MM/yyyy}", NgayIn.Date);
            this.F_TENCN = F_TENCN;
            this.F_TENCHN = F_TENCHN;
            this.F_TENNV = F_TENNV;
        }
        else
        {
            string machn = "";
            DateTime tungay = DateTime.Now;
            DateTime denngay = DateTime.Now;
            string macn = "";
            DateTime ngayin = DateTime.Now;
            string tencn = "";
            string tenchn = "";
            int manv = 0;
            string tennv = "";

            machn = cls_tb_BAOCAOTHUPHITHEONGANH.GetF_MACHNByMABCTPTN(MABCTPTN);
            macn = cls_tb_BAOCAOTHUPHITHEONGANH.GetF_MACNByMABCTPTN(MABCTPTN);
            manv = cls_tb_BAOCAOTHUPHITHEONGANH.GetF_NGUOILAPBIEUByMABCTPTN(MABCTPTN);
            tennv = cls_tbNHANVIEN.GetF_HOTENNVByF_MANV(manv);
            tungay = cls_tb_BAOCAOTHUPHITHEONGANH.GetF_TUNGAYByMABCTPTN(MABCTPTN);
            denngay = cls_tb_BAOCAOTHUPHITHEONGANH.GetF_DENNGAYByMABCTPTN(MABCTPTN);
            ngayin = cls_tb_BAOCAOTHUPHITHEONGANH.GetF_NGAYLAPByMABCTPTN(MABCTPTN);
            if (machn == "Z_ALLCLASS")
            {
                tenchn = "---Tất cả---";
            }
            else
            {
                tenchn = clsCHUYENNGANH.GetF_TENCHNByF_MACHN(machn);
            }

            this.F_MACHN = machn;
            this.TuNgay = tungay;
            this.DenNgay = denngay;
            this.F_MACN = macn;
            this.NgayIn = string.Format("{0:dd/MM/yyyy}", ngayin.Date);
            this.F_TENCN = tencn;
            this.F_TENCHN = tenchn;
            this.F_TENNV = tennv;
        }
        callbound();
    }
    protected void callbound()
    {
        string temp_flag = "";
        temp_flag = this.MABCTPTN_flag;
        DataSet ds = new DataSet();
        DataSet ds1 = new DataSet();
        DataSet ds2 = new DataSet();
        DataSet ds3 = new DataSet();
        DataTable dt = new DataTable();
        DataTable dt1 = new DataTable();
        DataTable dt2 = new DataTable();
        DataTable dt3 = new DataTable();
        //DataTable[] dtA;
        //---
        dt = new cls_tb_HeaderReport_TBDP().Select_byMaCN(this.F_MACN.ToString());
        mydatatable1 = dt;
        //ds.Tables.Add(dt);
        //this.DataSource1 = ds;
        //this.DataMember1 = dt.TableName;
        //this.DataAdapter1 = dt;
        //---
        if (temp_flag == "0")
        {
            dt1 = cls_tb_BAOCAOTHUPHITHEONGANH.DONGPHI_BaoCaoThuPhiTheoChuyenNganh_GetF_MACN_DISTINCT(this.F_MACHN.ToString(), this.F_MACN.ToString(), (this.TuNgay.Date), (this.DenNgay.Date));
        }
        else
        {
            dt1 = cls_tb_BAOCAOTHUPHITHEONGANH.CHITIET_GetByMABCTPTN_GetF_MACN_DISTINCT(MABCTPTN);
        }
        ds1.Tables.Add(dt1);
        this.DataSource = ds1;
        //this.DataMember2 = dt1.TableName;
        //this.DataAdapter2 = dt1;        
        //---
        if (temp_flag == "0")
        {
            dt2 = cls_tb_BAOCAOTHUPHITHEONGANH.DONGPHI_SumBaoCaoThuPhiTheoChuyenNganh(this.F_MACHN.ToString(), this.F_MACN.ToString(), (this.TuNgay.Date), (this.DenNgay.Date));
        }
        else
        {
            dt2 = cls_tb_BAOCAOTHUPHITHEONGANH.CHITIET_Get_SUM_ByMABCTPTN(MABCTPTN);
        }
        mydatatable2 = dt2;
        //ds2.Tables.Add(dt2);
        //this.DataSource3 = ds2;
        ////this.DataMember3 = dt2.TableName;
        ////this.DataAdapter3 = dt2;

        ////--->>>>
        //if (temp_flag == "0")
        //{
        //    dt3 = cls_tb_BAOCAOTHUPHITHEONGANH.DONGPHI_BaoCaoThuPhiTheoChuyenNganh_GetF_MACN_DISTINCT(this.F_MACHN.ToString(), this.F_MACN.ToString(), (this.TuNgay.Date), (this.DenNgay.Date));
        //}
        //else
        //{
        //    dt3 = cls_tb_BAOCAOTHUPHITHEONGANH.CHITIET_GetByMABCTPTN_GetF_MACN_DISTINCT(MABCTPTN);
        //}
        //ds3.Tables.Add(dt3);
        
        //this.DataSource = ds3;
        //this.DataMember = dt1.TableName;
        //this.DataAdapter = dt1;

        callbound_param();
        callbound_control();
    }
    protected void callbound_param()
    {
        xrLabel11.Text = "" + this.NgayIn;//ngayin
        xrLabel28.Text = "" + this.F_TENCN;//chinhanh 
        xrLabel13.Text = "" + this.F_TENCHN;//cac lop
        xrLabel15.Text = "" + this.TuNgay.ToString("dd/MM/yyyy");//tu ngay
        xrLabel17.Text = "" + this.DenNgay.ToString("dd/MM/yyyy");//den ngay
        xrLabel44.Text = "" + this.F_TENNV;//nguoi lap bieu
    }
    protected void callbound_control()
    {

        //////////////-------this.DataSource1------------------------
        ////---dia chi chi nhanh
        //this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource1, "BranchAddress_display")});
        ////---dien thoai
        //this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource1, "PhoneNumber_display")});
        ////---fax
        //this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource1, "Fax_display")});
        ////---macn
        //this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource1, "F_MACN")});
        ////---can bo quan ly chi nhanh
        //this.xrLabel43.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource1, "Manager")});
        if (mydatatable1.Rows.Count > 0)
        {
            this.xrLabel2.Text = mydatatable1.Rows[0]["BranchAddress_display"].ToString();
            this.xrLabel4.Text = mydatatable1.Rows[0]["PhoneNumber_display"].ToString();
            this.xrLabel7.Text = mydatatable1.Rows[0]["Fax_display"].ToString();
            this.xrLabel29.Text = mydatatable1.Rows[0]["F_MACN"].ToString();
            this.xrLabel43.Text = mydatatable1.Rows[0]["Manager"].ToString();
        }

        //////////////-------this.DataSource2------------------------ 
        this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource, "F_MACN")});
        //this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource2, "F_MALOP")});
        //this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource2, "F_SISO")});
        //this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource2, "SL_DONG")});
        //this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource2, "TIENHOCBONG","{0:#,##0}")});
        //this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource2, "TIENPHAT","{0:#,##0}")});
        //this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource2, "TIENTHUCTHU","{0:#,##0}")});
         
        //////////////-------this.DataSource3------------------------
        ////---tong hoc bong
        //this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource3, "TONGHOCBONG")});
        ////---tong tien phat
        //this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource3, "TONGTIENPHAT")});
        ////---tong thuc thu
        //this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
        //    new DevExpress.XtraReports.UI.XRBinding("Text", this.DataSource3, "TONGTHUCTHU")});
        if (mydatatable2.Rows.Count > 0)
        {
            this.xrLabel25.Text = mydatatable2.Rows[0]["TONGHOCBONG"].ToString();
            this.xrLabel26.Text = mydatatable2.Rows[0]["TONGTIENPHAT"].ToString();
            this.xrLabel27.Text = mydatatable2.Rows[0]["TONGTHUCTHU"].ToString();
        }
    }
	/// <summary> 
	/// Clean up any resources being used.
	/// </summary>
	/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
	protected override void Dispose(bool disposing) {
		if (disposing && (components != null)) {
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	#region Designer generated code

	/// <summary>
	/// Required method for Designer support - do not modify
	/// the contents of this method with the code editor.
	/// </summary>
	private void InitializeComponent() {
        string resourceFileName = "rptBaoCaoThuPhi_noDS.resx";
        System.Resources.ResourceManager resources = global::Resources.rptBaoCaoThuPhi_noDS.ResourceManager;
        this.Detail = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel32 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
        this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
        this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrLabel39 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel47 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel46 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel45 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel38 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel43 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel44 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel42 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel41 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel();
        this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
        this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
        this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
        this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        // 
        // Detail
        // 
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable3});
        this.Detail.HeightF = 30F;
        this.Detail.Name = "Detail";
        this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        this.Detail.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint);
        // 
        // xrTable2
        // 
        this.xrTable2.BackColor = System.Drawing.Color.Transparent;
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 0F);
        this.xrTable2.Name = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2});
        this.xrTable2.SizeF = new System.Drawing.SizeF(769.5F, 30F);
        this.xrTable2.StylePriority.UseBackColor = false;
        this.xrTable2.StylePriority.UseBorders = false;
        this.xrTable2.StylePriority.UseFont = false;
        this.xrTable2.StylePriority.UseTextAlignment = false;
        this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        // 
        // xrTableRow2
        // 
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell7,
            this.xrTableCell8,
            this.xrTableCell9,
            this.xrTableCell10,
            this.xrTableCell11,
            this.xrTableCell12});
        this.xrTableRow2.Name = "xrTableRow2";
        this.xrTableRow2.Weight = 1.2521740791883491D;
        // 
        // xrTableCell7
        // 
        this.xrTableCell7.Name = "xrTableCell7";
        this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
        this.xrTableCell7.StylePriority.UsePadding = false;
        this.xrTableCell7.StylePriority.UseTextAlignment = false;
        this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell7.Weight = 0.63239108390378673D;
        // 
        // xrTableCell8
        // 
        this.xrTableCell8.Name = "xrTableCell8";
        this.xrTableCell8.Weight = 0.25601047555040429D;
        // 
        // xrTableCell9
        // 
        this.xrTableCell9.Name = "xrTableCell9";
        this.xrTableCell9.Weight = 0.34161811218856597D;
        // 
        // xrTableCell10
        // 
        this.xrTableCell10.Name = "xrTableCell10";
        this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
        this.xrTableCell10.StylePriority.UsePadding = false;
        this.xrTableCell10.StylePriority.UseTextAlignment = false;
        this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell10.Weight = 0.53817409939236116D;
        // 
        // xrTableCell11
        // 
        this.xrTableCell11.Name = "xrTableCell11";
        this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
        this.xrTableCell11.StylePriority.UsePadding = false;
        this.xrTableCell11.StylePriority.UseTextAlignment = false;
        this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell11.Weight = 0.54466489974053511D;
        // 
        // xrTableCell12
        // 
        this.xrTableCell12.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell12.Name = "xrTableCell12";
        this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
        this.xrTableCell12.StylePriority.UseFont = false;
        this.xrTableCell12.StylePriority.UsePadding = false;
        this.xrTableCell12.StylePriority.UseTextAlignment = false;
        this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell12.Weight = 0.68714121029252573D;
        // 
        // TopMargin
        // 
        this.TopMargin.HeightF = 14F;
        this.TopMargin.Name = "TopMargin";
        this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        // 
        // BottomMargin
        // 
        this.BottomMargin.HeightF = 23F;
        this.BottomMargin.Name = "BottomMargin";
        this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        // 
        // ReportHeader
        // 
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel15,
            this.xrLabel16,
            this.xrLabel17,
            this.xrLabel12,
            this.xrLabel13,
            this.xrLabel14,
            this.xrLabel18,
            this.xrLabel32,
            this.xrLabel33,
            this.xrLabel34,
            this.xrLabel28,
            this.xrLabel29,
            this.xrLabel30,
            this.xrLabel2,
            this.xrLabel3,
            this.xrLabel4,
            this.xrLabel31,
            this.xrPictureBox1,
            this.xrLabel1,
            this.xrLabel6,
            this.xrLabel9,
            this.xrLabel10,
            this.xrLabel11,
            this.xrLabel7,
            this.xrLabel8,
            this.xrLabel5});
        this.ReportHeader.HeightF = 168F;
        this.ReportHeader.Name = "ReportHeader";
        // 
        // xrLabel15
        // 
        this.xrLabel15.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(257.2917F, 137.5F);
        this.xrLabel15.Name = "xrLabel15";
        this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel15.SizeF = new System.Drawing.SizeF(115F, 21.875F);
        this.xrLabel15.StylePriority.UseFont = false;
        this.xrLabel15.StylePriority.UseTextAlignment = false;
        this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        // 
        // xrLabel16
        // 
        this.xrLabel16.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(375F, 137.5F);
        this.xrLabel16.Name = "xrLabel16";
        this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel16.SizeF = new System.Drawing.SizeF(86.45834F, 21.875F);
        this.xrLabel16.StylePriority.UseFont = false;
        this.xrLabel16.Text = "đến ngày:";
        // 
        // xrLabel17
        // 
        this.xrLabel17.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(462.5F, 137.5F);
        this.xrLabel17.Name = "xrLabel17";
        this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel17.SizeF = new System.Drawing.SizeF(84.375F, 21.875F);
        this.xrLabel17.StylePriority.UseFont = false;
        this.xrLabel17.StylePriority.UseTextAlignment = false;
        this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        // 
        // xrLabel12
        // 
        this.xrLabel12.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Bold);
        this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(162.5F, 112.5F);
        this.xrLabel12.Name = "xrLabel12";
        this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel12.SizeF = new System.Drawing.SizeF(294.7917F, 24F);
        this.xrLabel12.StylePriority.UseFont = false;
        this.xrLabel12.StylePriority.UseTextAlignment = false;
        this.xrLabel12.Text = "BÁO CÁO THU PHÍ CÁC LỚP";
        this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        // 
        // xrLabel13
        // 
        this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 14F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
        this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(462.5F, 112.5F);
        this.xrLabel13.Name = "xrLabel13";
        this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel13.SizeF = new System.Drawing.SizeF(139.7065F, 24F);
        this.xrLabel13.StylePriority.UseFont = false;
        this.xrLabel13.StylePriority.UseTextAlignment = false;
        this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        // 
        // xrLabel14
        // 
        this.xrLabel14.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(175F, 137.5F);
        this.xrLabel14.Name = "xrLabel14";
        this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel14.SizeF = new System.Drawing.SizeF(82.29169F, 21.875F);
        this.xrLabel14.StylePriority.UseFont = false;
        this.xrLabel14.Text = "(Từ ngày:";
        // 
        // xrLabel18
        // 
        this.xrLabel18.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(550F, 137.5F);
        this.xrLabel18.Name = "xrLabel18";
        this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel18.SizeF = new System.Drawing.SizeF(6F, 21.875F);
        this.xrLabel18.StylePriority.UseFont = false;
        this.xrLabel18.Text = ")";
        // 
        // xrLabel32
        // 
        this.xrLabel32.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel32.LocationFloat = new DevExpress.Utils.PointFloat(175F, 37.5F);
        this.xrLabel32.Name = "xrLabel32";
        this.xrLabel32.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel32.SizeF = new System.Drawing.SizeF(7F, 18F);
        this.xrLabel32.StylePriority.UseFont = false;
        this.xrLabel32.StylePriority.UsePadding = false;
        this.xrLabel32.Text = ":";
        // 
        // xrLabel33
        // 
        this.xrLabel33.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(175F, 62.5F);
        this.xrLabel33.Name = "xrLabel33";
        this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel33.SizeF = new System.Drawing.SizeF(7F, 18F);
        this.xrLabel33.StylePriority.UseFont = false;
        this.xrLabel33.StylePriority.UsePadding = false;
        this.xrLabel33.Text = ":";
        // 
        // xrLabel34
        // 
        this.xrLabel34.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(100F, 57F);
        this.xrLabel34.Name = "xrLabel34";
        this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel34.SizeF = new System.Drawing.SizeF(73.66999F, 18F);
        this.xrLabel34.StylePriority.UseFont = false;
        this.xrLabel34.Text = "Email";
        // 
        // xrLabel28
        // 
        this.xrLabel28.Font = new System.Drawing.Font("Times New Roman", 11.5F, System.Drawing.FontStyle.Italic);
        this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(300F, 87.5F);
        this.xrLabel28.Name = "xrLabel28";
        this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 0, 0, 100F);
        this.xrLabel28.SizeF = new System.Drawing.SizeF(478.125F, 18.00002F);
        this.xrLabel28.StylePriority.UseFont = false;
        this.xrLabel28.StylePriority.UsePadding = false;
        this.xrLabel28.StylePriority.UseTextAlignment = false;
        this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
        // 
        // xrLabel29
        // 
        this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "tb_HeaderReport_TBDP_Select_byMaCN.F_MACN")});
        this.xrLabel29.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Underline);
        this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(100F, 19.5F);
        this.xrLabel29.Name = "xrLabel29";
        this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
        this.xrLabel29.SizeF = new System.Drawing.SizeF(73.66999F, 18F);
        this.xrLabel29.StylePriority.UseFont = false;
        this.xrLabel29.StylePriority.UsePadding = false;
        this.xrLabel29.Text = "xrLabel29";
        // 
        // xrLabel30
        // 
        this.xrLabel30.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(175F, 19.5F);
        this.xrLabel30.Name = "xrLabel30";
        this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel30.SizeF = new System.Drawing.SizeF(7F, 18F);
        this.xrLabel30.StylePriority.UseFont = false;
        this.xrLabel30.StylePriority.UsePadding = false;
        this.xrLabel30.Text = ":";
        // 
        // xrLabel2
        // 
        this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(182F, 18F);
        this.xrLabel2.Name = "xrLabel2";
        this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF = new System.Drawing.SizeF(561.3228F, 18F);
        this.xrLabel2.StylePriority.UseFont = false;
        this.xrLabel2.Text = "[tb_HeaderReport_TBDP_Select_byMaCN.BranchAddress_display]";
        // 
        // xrLabel3
        // 
        this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(100F, 37.5F);
        this.xrLabel3.Name = "xrLabel3";
        this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel3.SizeF = new System.Drawing.SizeF(73.66999F, 18F);
        this.xrLabel3.StylePriority.UseFont = false;
        this.xrLabel3.Text = "Điện thoại";
        // 
        // xrLabel4
        // 
        this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(183F, 37.5F);
        this.xrLabel4.Name = "xrLabel4";
        this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel4.SizeF = new System.Drawing.SizeF(200F, 18F);
        this.xrLabel4.StylePriority.UseFont = false;
        this.xrLabel4.Text = "[tb_HeaderReport_TBDP_Select_byMaCN.PhoneNumber_display]";
        // 
        // xrLabel31
        // 
        this.xrLabel31.Borders = DevExpress.XtraPrinting.BorderSide.Top;
        this.xrLabel31.BorderWidth = 1;
        this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(0F, 80.5F);
        this.xrLabel31.Name = "xrLabel31";
        this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel31.SizeF = new System.Drawing.SizeF(767F, 2F);
        this.xrLabel31.StylePriority.UseBorders = false;
        this.xrLabel31.StylePriority.UseBorderWidth = false;
        // 
        // xrPictureBox1
        // 
        this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
        this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrPictureBox1.Name = "xrPictureBox1";
        this.xrPictureBox1.SizeF = new System.Drawing.SizeF(85F, 77F);
        this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
        // 
        // xrLabel1
        // 
        this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(100F, 0F);
        this.xrLabel1.Name = "xrLabel1";
        this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF = new System.Drawing.SizeF(627.3194F, 18F);
        this.xrLabel1.StylePriority.UseFont = false;
        this.xrLabel1.StylePriority.UseTextAlignment = false;
        this.xrLabel1.Text = "TRUNG TÂM NGOẠI NGỮ - TIN HỌC ANH VIỆT";
        this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        // 
        // xrLabel6
        // 
        this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(387.5F, 37.5F);
        this.xrLabel6.Name = "xrLabel6";
        this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel6.SizeF = new System.Drawing.SizeF(38.08F, 18F);
        this.xrLabel6.StylePriority.UseFont = false;
        this.xrLabel6.Text = "| Fax:";
        // 
        // xrLabel9
        // 
        this.xrLabel9.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(462.5F, 60.5F);
        this.xrLabel9.Name = "xrLabel9";
        this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel9.SizeF = new System.Drawing.SizeF(206.83F, 18F);
        this.xrLabel9.StylePriority.UseFont = false;
        this.xrLabel9.Text = "www.anhviet.edu.vn";
        // 
        // xrLabel10
        // 
        this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 12F);
        this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 87.5F);
        this.xrLabel10.Name = "xrLabel10";
        this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel10.SizeF = new System.Drawing.SizeF(63.33334F, 18F);
        this.xrLabel10.StylePriority.UseFont = false;
        this.xrLabel10.Text = "Ngày:";
        // 
        // xrLabel11
        // 
        this.xrLabel11.Font = new System.Drawing.Font("Times New Roman", 12F);
        this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(75F, 87.5F);
        this.xrLabel11.Name = "xrLabel11";
        this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel11.SizeF = new System.Drawing.SizeF(121.6667F, 18F);
        this.xrLabel11.StylePriority.UseFont = false;
        // 
        // xrLabel7
        // 
        this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(425.58F, 37.5F);
        this.xrLabel7.Name = "xrLabel7";
        this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel7.SizeF = new System.Drawing.SizeF(229.54F, 18F);
        this.xrLabel7.StylePriority.UseFont = false;
        this.xrLabel7.Text = "[tb_HeaderReport_TBDP_Select_byMaCN.Fax_display]";
        // 
        // xrLabel8
        // 
        this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(182F, 59F);
        this.xrLabel8.Name = "xrLabel8";
        this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel8.SizeF = new System.Drawing.SizeF(206.83F, 18F);
        this.xrLabel8.StylePriority.UseFont = false;
        this.xrLabel8.Text = "info@anhviet.edu.vn ";
        // 
        // xrLabel5
        // 
        this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(397.2917F, 60.5F);
        this.xrLabel5.Name = "xrLabel5";
        this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel5.SizeF = new System.Drawing.SizeF(60F, 18F);
        this.xrLabel5.StylePriority.UseFont = false;
        this.xrLabel5.Text = "| Wesite:";
        // 
        // ReportFooter
        // 
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel39,
            this.xrLabel47,
            this.xrLabel46,
            this.xrLabel45,
            this.xrLabel38,
            this.xrLabel43,
            this.xrLabel44,
            this.xrLabel42,
            this.xrLabel40,
            this.xrLabel41,
            this.xrLabel37,
            this.xrLabel22,
            this.xrLabel23,
            this.xrLabel21,
            this.xrLabel19,
            this.xrLabel20,
            this.xrLabel27,
            this.xrLabel36,
            this.xrLabel26,
            this.xrLabel24,
            this.xrLabel25});
        this.ReportFooter.HeightF = 197F;
        this.ReportFooter.Name = "ReportFooter";
        // 
        // xrLabel39
        // 
        this.xrLabel39.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel39.LocationFloat = new DevExpress.Utils.PointFloat(712.5F, 87.5F);
        this.xrLabel39.Name = "xrLabel39";
        this.xrLabel39.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel39.SizeF = new System.Drawing.SizeF(39F, 20F);
        this.xrLabel39.StylePriority.UseFont = false;
        this.xrLabel39.StylePriority.UsePadding = false;
        this.xrLabel39.Text = "Năm";
        // 
        // xrLabel47
        // 
        this.xrLabel47.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel47.LocationFloat = new DevExpress.Utils.PointFloat(751.5F, 87.5F);
        this.xrLabel47.Name = "xrLabel47";
        this.xrLabel47.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel47.SizeF = new System.Drawing.SizeF(29.45831F, 20F);
        this.xrLabel47.StylePriority.UseFont = false;
        this.xrLabel47.StylePriority.UsePadding = false;
        this.xrLabel47.Text = "....";
        // 
        // xrLabel46
        // 
        this.xrLabel46.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel46.LocationFloat = new DevExpress.Utils.PointFloat(684.5F, 87.5F);
        this.xrLabel46.Name = "xrLabel46";
        this.xrLabel46.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel46.SizeF = new System.Drawing.SizeF(25F, 20F);
        this.xrLabel46.StylePriority.UseFont = false;
        this.xrLabel46.StylePriority.UsePadding = false;
        this.xrLabel46.Text = "....";
        // 
        // xrLabel45
        // 
        this.xrLabel45.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel45.LocationFloat = new DevExpress.Utils.PointFloat(605.5F, 87.5F);
        this.xrLabel45.Name = "xrLabel45";
        this.xrLabel45.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel45.SizeF = new System.Drawing.SizeF(29.45831F, 20F);
        this.xrLabel45.StylePriority.UseFont = false;
        this.xrLabel45.StylePriority.UsePadding = false;
        this.xrLabel45.Text = "......";
        // 
        // xrLabel38
        // 
        this.xrLabel38.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel38.LocationFloat = new DevExpress.Utils.PointFloat(637.5F, 87.5F);
        this.xrLabel38.Name = "xrLabel38";
        this.xrLabel38.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel38.SizeF = new System.Drawing.SizeF(47F, 20F);
        this.xrLabel38.StylePriority.UseFont = false;
        this.xrLabel38.StylePriority.UsePadding = false;
        this.xrLabel38.Text = "Tháng";
        // 
        // xrLabel43
        // 
        this.xrLabel43.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "tb_HeaderReport_TBDP_Select_byMaCN.Manager")});
        this.xrLabel43.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel43.LocationFloat = new DevExpress.Utils.PointFloat(225F, 175F);
        this.xrLabel43.Name = "xrLabel43";
        this.xrLabel43.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel43.SizeF = new System.Drawing.SizeF(240F, 20F);
        this.xrLabel43.StylePriority.UseFont = false;
        this.xrLabel43.StylePriority.UseTextAlignment = false;
        this.xrLabel43.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        // 
        // xrLabel44
        // 
        this.xrLabel44.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel44.LocationFloat = new DevExpress.Utils.PointFloat(500F, 175F);
        this.xrLabel44.Name = "xrLabel44";
        this.xrLabel44.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel44.SizeF = new System.Drawing.SizeF(225.2083F, 20F);
        this.xrLabel44.StylePriority.UseFont = false;
        this.xrLabel44.StylePriority.UseTextAlignment = false;
        this.xrLabel44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        // 
        // xrLabel42
        // 
        this.xrLabel42.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel42.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 112.5F);
        this.xrLabel42.Name = "xrLabel42";
        this.xrLabel42.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 100F);
        this.xrLabel42.SizeF = new System.Drawing.SizeF(120F, 20F);
        this.xrLabel42.StylePriority.UseFont = false;
        this.xrLabel42.StylePriority.UsePadding = false;
        this.xrLabel42.StylePriority.UseTextAlignment = false;
        this.xrLabel42.Text = "Ban giám đốc";
        this.xrLabel42.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        // 
        // xrLabel40
        // 
        this.xrLabel40.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel40.LocationFloat = new DevExpress.Utils.PointFloat(550F, 112.5F);
        this.xrLabel40.Name = "xrLabel40";
        this.xrLabel40.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel40.SizeF = new System.Drawing.SizeF(120F, 20F);
        this.xrLabel40.StylePriority.UseFont = false;
        this.xrLabel40.StylePriority.UsePadding = false;
        this.xrLabel40.StylePriority.UseTextAlignment = false;
        this.xrLabel40.Text = "Người lập biểu";
        this.xrLabel40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        // 
        // xrLabel41
        // 
        this.xrLabel41.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel41.LocationFloat = new DevExpress.Utils.PointFloat(262.5F, 112.5F);
        this.xrLabel41.Name = "xrLabel41";
        this.xrLabel41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel41.SizeF = new System.Drawing.SizeF(160F, 20F);
        this.xrLabel41.StylePriority.UseFont = false;
        this.xrLabel41.StylePriority.UsePadding = false;
        this.xrLabel41.StylePriority.UseTextAlignment = false;
        this.xrLabel41.Text = "CB quản lý chi nhánh";
        this.xrLabel41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        // 
        // xrLabel37
        // 
        this.xrLabel37.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel37.LocationFloat = new DevExpress.Utils.PointFloat(562.5F, 87.5F);
        this.xrLabel37.Name = "xrLabel37";
        this.xrLabel37.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.xrLabel37.SizeF = new System.Drawing.SizeF(43F, 20F);
        this.xrLabel37.StylePriority.UseFont = false;
        this.xrLabel37.StylePriority.UsePadding = false;
        this.xrLabel37.Text = "Ngày";
        // 
        // xrLabel22
        // 
        this.xrLabel22.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(337.5F, 0F);
        this.xrLabel22.Name = "xrLabel22";
        this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel22.SizeF = new System.Drawing.SizeF(48F, 22F);
        this.xrLabel22.StylePriority.UseFont = false;
        this.xrLabel22.Text = "đồng";
        // 
        // xrLabel23
        // 
        this.xrLabel23.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(337.5F, 25F);
        this.xrLabel23.Name = "xrLabel23";
        this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel23.SizeF = new System.Drawing.SizeF(48F, 22F);
        this.xrLabel23.StylePriority.UseFont = false;
        this.xrLabel23.Text = "đồng";
        // 
        // xrLabel21
        // 
        this.xrLabel21.Font = new System.Drawing.Font("Times New Roman", 13.5F, System.Drawing.FontStyle.Bold);
        this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 50F);
        this.xrLabel21.Name = "xrLabel21";
        this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel21.SizeF = new System.Drawing.SizeF(140F, 22F);
        this.xrLabel21.StylePriority.UseFont = false;
        this.xrLabel21.Text = "Tổng thực thu:";
        // 
        // xrLabel19
        // 
        this.xrLabel19.Font = new System.Drawing.Font("Times New Roman", 13.5F, System.Drawing.FontStyle.Bold);
        this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 0F);
        this.xrLabel19.Name = "xrLabel19";
        this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel19.SizeF = new System.Drawing.SizeF(140F, 22F);
        this.xrLabel19.StylePriority.UseFont = false;
        this.xrLabel19.Text = "Tổng học bổng:";
        // 
        // xrLabel20
        // 
        this.xrLabel20.Font = new System.Drawing.Font("Times New Roman", 13.5F, System.Drawing.FontStyle.Bold);
        this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 25F);
        this.xrLabel20.Name = "xrLabel20";
        this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel20.SizeF = new System.Drawing.SizeF(140F, 22F);
        this.xrLabel20.StylePriority.UseFont = false;
        this.xrLabel20.Text = "Tổng tiền phạt:";
        // 
        // xrLabel27
        // 
        this.xrLabel27.Font = new System.Drawing.Font("Times New Roman", 13.5F, System.Drawing.FontStyle.Bold);
        this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(152.5F, 50F);
        this.xrLabel27.Name = "xrLabel27";
        this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
        this.xrLabel27.SizeF = new System.Drawing.SizeF(181.7083F, 22F);
        this.xrLabel27.StylePriority.UseFont = false;
        this.xrLabel27.StylePriority.UsePadding = false;
        this.xrLabel27.StylePriority.UseTextAlignment = false;
        this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
        // 
        // xrLabel36
        // 
        this.xrLabel36.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel36.LocationFloat = new DevExpress.Utils.PointFloat(435.42F, 87.5F);
        this.xrLabel36.Name = "xrLabel36";
        this.xrLabel36.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
        this.xrLabel36.SizeF = new System.Drawing.SizeF(127.08F, 20F);
        this.xrLabel36.StylePriority.UseFont = false;
        this.xrLabel36.StylePriority.UsePadding = false;
        this.xrLabel36.StylePriority.UseTextAlignment = false;
        this.xrLabel36.Text = ".........................,";
        this.xrLabel36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
        // 
        // xrLabel26
        // 
        this.xrLabel26.Font = new System.Drawing.Font("Times New Roman", 13.5F, System.Drawing.FontStyle.Bold);
        this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(152.5F, 25F);
        this.xrLabel26.Name = "xrLabel26";
        this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
        this.xrLabel26.SizeF = new System.Drawing.SizeF(181.7083F, 22F);
        this.xrLabel26.StylePriority.UseFont = false;
        this.xrLabel26.StylePriority.UsePadding = false;
        this.xrLabel26.StylePriority.UseTextAlignment = false;
        this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
        // 
        // xrLabel24
        // 
        this.xrLabel24.Font = new System.Drawing.Font("Times New Roman", 13F);
        this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(337.5F, 50F);
        this.xrLabel24.Name = "xrLabel24";
        this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel24.SizeF = new System.Drawing.SizeF(48F, 22F);
        this.xrLabel24.StylePriority.UseFont = false;
        this.xrLabel24.Text = "đồng";
        // 
        // xrLabel25
        // 
        this.xrLabel25.Font = new System.Drawing.Font("Times New Roman", 13.5F, System.Drawing.FontStyle.Bold);
        this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(152.5F, 0F);
        this.xrLabel25.Name = "xrLabel25";
        this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F);
        this.xrLabel25.SizeF = new System.Drawing.SizeF(181.7083F, 22F);
        this.xrLabel25.StylePriority.UseFont = false;
        this.xrLabel25.StylePriority.UsePadding = false;
        this.xrLabel25.StylePriority.UseTextAlignment = false;
        this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
        // 
        // PageHeader
        // 
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1});
        this.PageHeader.HeightF = 30F;
        this.PageHeader.Name = "PageHeader";
        // 
        // xrTable1
        // 
        this.xrTable1.BackColor = System.Drawing.Color.SkyBlue;
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                    | DevExpress.XtraPrinting.BorderSide.Right)
                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold);
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 0F);
        this.xrTable1.Name = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1});
        this.xrTable1.SizeF = new System.Drawing.SizeF(769.5F, 30F);
        this.xrTable1.StylePriority.UseBackColor = false;
        this.xrTable1.StylePriority.UseBorders = false;
        this.xrTable1.StylePriority.UseFont = false;
        this.xrTable1.StylePriority.UseTextAlignment = false;
        this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        // 
        // xrTableRow1
        // 
        this.xrTableRow1.BackColor = System.Drawing.Color.SkyBlue;
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell3,
            this.xrTableCell4,
            this.xrTableCell5,
            this.xrTableCell6});
        this.xrTableRow1.Name = "xrTableRow1";
        this.xrTableRow1.StylePriority.UseBackColor = false;
        this.xrTableRow1.Weight = 1.2521740791883491D;
        // 
        // xrTableCell1
        // 
        this.xrTableCell1.BorderWidth = 1;
        this.xrTableCell1.Name = "xrTableCell1";
        this.xrTableCell1.StylePriority.UseBorderWidth = false;
        this.xrTableCell1.Text = "Lớp";
        this.xrTableCell1.Weight = 0.63450298346506462D;
        // 
        // xrTableCell2
        // 
        this.xrTableCell2.Name = "xrTableCell2";
        this.xrTableCell2.Text = "Sĩ số";
        this.xrTableCell2.Weight = 0.25276127567997686D;
        // 
        // xrTableCell3
        // 
        this.xrTableCell3.Name = "xrTableCell3";
        this.xrTableCell3.Text = "SL đóng";
        this.xrTableCell3.Weight = 0.34161811218856597D;
        // 
        // xrTableCell4
        // 
        this.xrTableCell4.Name = "xrTableCell4";
        this.xrTableCell4.Text = "Tiền học bổng";
        this.xrTableCell4.Weight = 0.53817409939236116D;
        // 
        // xrTableCell5
        // 
        this.xrTableCell5.Name = "xrTableCell5";
        this.xrTableCell5.Text = "Tiền phạt";
        this.xrTableCell5.Weight = 0.54466489974053511D;
        // 
        // xrTableCell6
        // 
        this.xrTableCell6.Name = "xrTableCell6";
        this.xrTableCell6.Text = "Tiền thực thu";
        this.xrTableCell6.Weight = 0.68827862953349628D;
        // 
        // xrTable4
        // 
        this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 0F);
        this.xrTable4.Name = "xrTable4";
        this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow4});
        this.xrTable4.SizeF = new System.Drawing.SizeF(769.5F, 30F);
        // 
        // xrTableRow4
        // 
        this.xrTableRow4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell14,
            this.xrTableCell18,
            this.xrTableCell16,
            this.xrTableCell17});
        this.xrTableRow4.Name = "xrTableRow4";
        this.xrTableRow4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
        this.xrTableRow4.StylePriority.UseBorders = false;
        this.xrTableRow4.StylePriority.UsePadding = false;
        this.xrTableRow4.StylePriority.UseTextAlignment = false;
        this.xrTableRow4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableRow4.Weight = 1.0285713837292749D;
        // 
        // xrTableCell14
        // 
        this.xrTableCell14.Name = "xrTableCell14";
        this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
        this.xrTableCell14.StylePriority.UsePadding = false;
        this.xrTableCell14.StylePriority.UseTextAlignment = false;
        this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell14.Weight = 1.2317500552943703D;
        // 
        // xrTableCell18
        // 
        this.xrTableCell18.Name = "xrTableCell18";
        this.xrTableCell18.Text = "xrTableCell18";
        this.xrTableCell18.Weight = 0.53943003389850985D;
        // 
        // xrTableCell16
        // 
        this.xrTableCell16.Name = "xrTableCell16";
        this.xrTableCell16.Text = "xrTableCell16";
        this.xrTableCell16.Weight = 0.54707625943812532D;
        // 
        // xrTableCell17
        // 
        this.xrTableCell17.Name = "xrTableCell17";
        this.xrTableCell17.Text = "xrTableCell17";
        this.xrTableCell17.Weight = 0.68874472963453781D;
        // 
        // xrTable3
        // 
        this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(12.5F, 0F);
        this.xrTable3.Name = "xrTable3";
        this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3});
        this.xrTable3.SizeF = new System.Drawing.SizeF(769.5F, 30F);
        // 
        // xrTableRow3
        // 
        this.xrTableRow3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell13,
            this.xrTableCell15});
        this.xrTableRow3.Name = "xrTableRow3";
        this.xrTableRow3.StylePriority.UseBorders = false;
        this.xrTableRow3.Weight = 1.0285713837292749D;
        // 
        // xrTableCell13
        // 
        this.xrTableCell13.Name = "xrTableCell13";
        this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
        this.xrTableCell13.StylePriority.UsePadding = false;
        this.xrTableCell13.StylePriority.UseTextAlignment = false;
        this.xrTableCell13.Text = "F_MACN";
        this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell13.Weight = 0.63472812460915939D;
        this.xrTableCell13.EvaluateBinding += new DevExpress.XtraReports.UI.BindingEventHandler(this.xrTableCell13_EvaluateBinding);
        this.xrTableCell13.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrTableCell13_BeforePrint);
        this.xrTableCell13.Draw += new DevExpress.XtraReports.UI.DrawEventHandler(this.xrTableCell13_Draw);
        // 
        // xrTableCell15
        // 
        this.xrTableCell15.Name = "xrTableCell15";
        this.xrTableCell15.Weight = 2.37635863242882D;
        // 
        // DetailReport
        // 
        this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail1,
            this.GroupFooter2});
        this.DetailReport.Level = 0;
        this.DetailReport.Name = "DetailReport";
        // 
        // Detail1
        // 
        this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2});
        this.Detail1.HeightF = 30F;
        this.Detail1.KeepTogether = true;
        this.Detail1.KeepTogetherWithDetailReports = true;
        this.Detail1.Name = "Detail1";
        // 
        // GroupFooter2
        // 
        this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable4});
        this.GroupFooter2.HeightF = 30F;
        this.GroupFooter2.KeepTogether = true;
        this.GroupFooter2.Name = "GroupFooter2";
        // 
        // rptBaoCaoThuPhi_noDS
        // 
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.ReportFooter,
            this.PageHeader,
            this.DetailReport});
        this.Margins = new System.Drawing.Printing.Margins(27, 14, 14, 23);
        this.PageHeight = 1169;
        this.PageWidth = 827;
        this.PaperKind = System.Drawing.Printing.PaperKind.A4;
        this.Version = "10.2";
        this.DataSourceRowChanged += new DevExpress.XtraReports.UI.DataSourceRowEventHandler(this.rptBaoCaoThuPhi_noDS_DataSourceRowChanged);
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

	}

	#endregion

    private void xrTableCell13_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
    {
        string F_MACN = "";
        F_MACN = xrTableCell13.Text;

        string temp_flag = "";
        temp_flag = this.MABCTPTN_flag;
        DataSet ds4 = new DataSet();
        DataTable dt4 = new DataTable();

        if (temp_flag == "0")
        {
            dt4 = cls_tb_BAOCAOTHUPHITHEONGANH.DONGPHI_BaoCaoThuPhiTheoChuyenNganh(this.F_MACHN.ToString(), F_MACN.ToString(), (this.TuNgay.Date), (this.DenNgay.Date));
        }
        else
        {
            //dt4 = cls_tb_BAOCAOTHUPHITHEONGANH.CHITIET_GetByMABCTPTN_F_MACN(MABCTPTN);
        }
        ds4.Tables.Add(dt4);
        this.DetailReport.DataSource = ds4;

        //---
        this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DetailReport.DataSource, "F_MALOP")});
        this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DetailReport.DataSource, "F_SISO")});
        this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DetailReport.DataSource, "SL_DONG")});
        this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DetailReport.DataSource, "TIENHOCBONG","{0:#,##0}")});
        this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DetailReport.DataSource, "TIENPHAT","{0:#,##0}")});
        this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", this.DetailReport.DataSource, "TIENTHUCTHU","{0:#,##0}")});
    }

    private void xrTableCell13_EvaluateBinding(object sender, BindingEventArgs e)
    {
        
    }

    private void Detail1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
    {
        
    }

    private void Detail_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
    {

    }

    private void xrTableCell13_Draw(object sender, DrawEventArgs e)
    {
        

    }

    private void DetailReport_DataSourceRowChanged(object sender, DataSourceRowEventArgs e)
    {

    }

    private void rptBaoCaoThuPhi_noDS_DataSourceRowChanged(object sender, DataSourceRowEventArgs e)
    {
        DataTable dt = new DataTable();
        //dt = (DataTable)this.DataSource;
    }
}
